import { ClientMessage } from "@runtime/generate/message/ClientMessage";
import MessageHandler from "@runtime/module/Handler/MessageHandler";
import TooltipComponent from "@runtime/UnityEngineBridge/TooltipComponent";

export default class BinocularCameraGizmosUpdateMessageHandler extends MessageHandler<ClientMessage.BinocularCameraGizmosUpdateMessage> {
    protected async RunAsync(message: ClientMessage.BinocularCameraGizmosUpdateMessage): Promise<void> {
        TooltipComponent.Default.Clear();
        TooltipComponent.Default.AddRange(message.Informations);
    }
}